package com.mybatisplus.mp.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.core.annotation.Order;

@Aspect
//@Component
@Order(88)
public class AopDemoTwo {
    @Around(value = "@annotation(com.mybatisplus.mp.myanno.Retry)")
    public void aroundTest(ProceedingJoinPoint joinPoint) throws Throwable {
        Object[] args = joinPoint.getArgs();
        Object proceed = joinPoint.proceed(args);
        System.out.println("第二次被切");
        System.out.println(proceed);
    }


}
